package com.example.schoolenterprisealliance.fragment;
import android.os.Bundle;

import androidx.fragment.app.Fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;
import android.webkit.WebViewClient;

import com.example.schoolenterprisealliance.R;
public class InternetFragment extends Fragment {


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View view =inflater.inflate(R.layout.fragment_internet, container, false);
        WebView webView = (WebView)view.findViewById(R.id.webview);
        //WebView加载web资源
        webView.loadUrl("http://www.moe.gov.cn/srcsite/A08/s5672/201803/t20180309_329447.html?from=timeline&isappinstalled=0");
        return view;
    }

    @Override
    public void onResume() {
        super.onResume();

    }
}
